Matthias Clasen [Sun, 9 Sep 2012 22:28:48 +0000 (18:28 -0400)]
Be more strict in ignoring ineffective modifiers
After my recent fix for this, nautilus was still having problems
telling keeping F10 and Shift-F10 apart. With this change, we are
treating levels with the same symbol like inactive levels, ignoring
them entirely.
Matthias Clasen [Sun, 9 Sep 2012 20:02:15 +0000 (16:02 -0400)]
widget-factory: Add a second page
The widget-factory was pretty much overflowing, so I've
made it page, and started to fill the second page with
vertical spin buttons. New examples and widgets should
be added to page 2 now.
Alexandre Franke [Sun, 9 Sep 2012 18:49:05 +0000 (20:49 +0200)]
Update French translation
Duarte Loreto [Sun, 9 Sep 2012 00:36:18 +0000 (01:36 +0100)]
Updated Portuguese translation
Duarte Loreto [Sun, 9 Sep 2012 00:33:37 +0000 (01:33 +0100)]
Updated Portuguese translation
Changwoo Ryu [Sat, 8 Sep 2012 20:20:59 +0000 (05:20 +0900)]
Updated Korean translation
Martin Srebotnjak [Sat, 8 Sep 2012 19:31:21 +0000 (21:31 +0200)]
Updated Slovenian translation
Arash Mousavi [Sat, 8 Sep 2012 11:09:49 +0000 (15:39 +0430)]
l10n: Updated Persian translation
Aurimas Černius [Fri, 7 Sep 2012 17:14:27 +0000 (20:14 +0300)]
Updated properties Lithuanian translation
Ihar Hrachyshka [Fri, 7 Sep 2012 15:22:32 +0000 (18:22 +0300)]
Updated Belarusian translation.
Yaron Shahrabani [Fri, 7 Sep 2012 13:51:05 +0000 (16:51 +0300)]
Updated Hebrew translation.
Yaron Shahrabani [Fri, 7 Sep 2012 13:49:39 +0000 (16:49 +0300)]
Updated Hebrew translation.
Мирослав Николић [Fri, 7 Sep 2012 06:20:47 +0000 (08:20 +0200)]
Updated Serbian translation
Мирослав Николић [Fri, 7 Sep 2012 06:05:46 +0000 (08:05 +0200)]
Updated Serbian translation
Matej Urbančič [Thu, 6 Sep 2012 19:05:47 +0000 (21:05 +0200)]
Updated Slovenian translation
Gabor Kelemen [Thu, 6 Sep 2012 12:38:17 +0000 (14:38 +0200)]
Updated Hungarian translation
Marek Kasik [Thu, 6 Sep 2012 09:52:22 +0000 (11:52 +0200)]
printing: Don't load custom paper sizes in file backend
Resolves #683474.
Gabor Kelemen [Thu, 6 Sep 2012 12:02:23 +0000 (14:02 +0200)]
Updated Hungarian translation
Dirgita [Thu, 6 Sep 2012 03:55:25 +0000 (10:55 +0700)]
Updated Indonesian translation
Tom Tryfonidis [Wed, 5 Sep 2012 23:55:10 +0000 (02:55 +0300)]
Updated Greek translations
Bruce Cowan [Wed, 5 Sep 2012 13:11:55 +0000 (14:11 +0100)]
Updated British English translation
Chao-Hsiung Liao [Wed, 5 Sep 2012 12:11:59 +0000 (20:11 +0800)]
Updated Traditional Chinese translation(Hong Kong and Taiwan)
Khaled Hosny [Wed, 5 Sep 2012 07:05:48 +0000 (09:05 +0200)]
Updated Arabic translation
Matthias Clasen [Wed, 5 Sep 2012 03:16:31 +0000 (23:16 -0400)]
Bump version
Matthias Clasen [Wed, 5 Sep 2012 02:24:06 +0000 (22:24 -0400)]
3.5.16
Cosimo Cecchi [Tue, 4 Sep 2012 13:38:28 +0000 (09:38 -0400)]
menubutton: clear arrow_widget on remove()
So that we clear its pointer also in case somebody else calls
gtk_container_remove() on the button.
Fixes criticals at startup in e.g. Nautilus.
John Ralls [Mon, 3 Sep 2012 23:56:46 +0000 (16:56 -0700)]
Protect sectond call of nsevent hasPreciseScrollingDeltas from pre-Lion
Matthias Clasen [Mon, 3 Sep 2012 23:51:27 +0000 (19:51 -0400)]
Bump version
Matthias Clasen [Mon, 3 Sep 2012 19:58:07 +0000 (15:58 -0400)]
3.5.14
Chun-wei Fan [Wed, 29 Aug 2012 06:03:46 +0000 (14:03 +0800)]
gtkimcontexttime.c: Check context_ime->client_window is not NULL
Be a bit more careful in get_pango_attr_list() and
get_utf8_preedit_string() to ensure that the client_window is properly
created before proceeding, to avoid access violation/segfault crashes on
Windows with IME installed, especially when running the pickers demo.
https://bugzilla.gnome.org/show_bug.cgi?id=682919
Cosimo Cecchi [Sun, 2 Sep 2012 23:14:04 +0000 (19:14 -0400)]
entry: fix requisition width/height to use the current pango layout
This way, we can ensure that width/height changes due to the use of
gtk_entry_set_attributes() are correctly reflected in the size request.
https://bugzilla.gnome.org/show_bug.cgi?id=683168
Paolo Borelli [Sat, 1 Sep 2012 16:49:02 +0000 (18:49 +0200)]
Make spinbutton orientable
https://bugzilla.gnome.org/show_bug.cgi?id=683168
Carlos Garnacho [Mon, 3 Sep 2012 15:15:28 +0000 (17:15 +0200)]
Remove leftover from text selection handles style update
GTK_STYLE_CLASS_INVERTED_CURSOR_HANDLE is no longer defined
as it was left unused by commit
81045779f6
Carlos Garnacho [Mon, 3 Sep 2012 15:03:52 +0000 (17:03 +0200)]
Improve CSS styling of touch text selection handles
Don't hook on the widget style context and set up instead
a widget path for itself. Also use a common style class
for both handles, with an extra top/bottom class for each
handle.
Daniel Mustieles [Mon, 3 Sep 2012 14:07:06 +0000 (16:07 +0200)]
Updated Spanish translation
Daniel Mustieles [Mon, 3 Sep 2012 13:59:53 +0000 (15:59 +0200)]
Updated Spanish translation
Daniel Mustieles [Mon, 3 Sep 2012 13:59:43 +0000 (15:59 +0200)]
Updated Spanish translation
Piotr Drąg [Mon, 3 Sep 2012 13:58:59 +0000 (15:58 +0200)]
Updated Polish translation
Piotr Drąg [Mon, 3 Sep 2012 13:51:38 +0000 (15:51 +0200)]
Updated POTFILES.in
Benjamin Otte [Mon, 3 Sep 2012 10:52:49 +0000 (12:52 +0200)]
cssvalue: Implement transitioning arrays
Or rather: Implement it for backgrounds, as the animation rules for
arrays vary by property.
Benjamin Otte [Thu, 30 Aug 2012 13:51:29 +0000 (15:51 +0200)]
cssvalue: Pass property ID to transition function
This is to allow animating arrays properly. I'm not really thrilled
about this solution (we leak propertys into the values again...), but
it's the best I can come up with - I prefer it to having N different
array types...
Benjamin Otte [Wed, 29 Aug 2012 10:37:16 +0000 (12:37 +0200)]
cssvalue: Don't allow empty arrays anymore
CSS arrays aren't empty, even the ones that appear empty contain one
"none" element.
Benjamin Otte [Wed, 29 Aug 2012 10:30:33 +0000 (12:30 +0200)]
cssvalue: Make the array parser no longer parse "none"
Arrays that support it, handle it themselves.
Benjamin Otte [Tue, 28 Aug 2012 15:52:12 +0000 (17:52 +0200)]
css: Redo bindings parsing
I want to get away from the ability to have 0-length arrays, all css
arrays are single element.
Even if the element is "none", it is still a "none" element.
Claudio Saavedra [Mon, 3 Sep 2012 07:59:23 +0000 (10:59 +0300)]
gtkliststore: fix documentation typo
Matthias Clasen [Mon, 3 Sep 2012 03:11:15 +0000 (23:11 -0400)]
Add a way to test touch features
The GTK_TEST_TOUCHSCREEN envvar is now checked in entries
and textviews to allow testing of text handles with other
kinds of devices.
Carlos Garnacho [Wed, 11 Jul 2012 14:43:51 +0000 (16:43 +0200)]
Implement touch text selection in GtkTextView
GtkTextHandle is used to indicate both the cursor position
and the selection bound, dragging the handles will modify
the selection and scroll if necessary.
Backwards text selection is also blocked for touch devices,
so the handles don't get inverted positions and possibly
obscure portions of the selected text.
Carlos Garnacho [Wed, 11 Jul 2012 13:55:00 +0000 (15:55 +0200)]
Implement touch text selection in GtkEntry
GtkTextHandle is used to indicate both the cursor position
and the selection bound, dragging the handles will modify
the selection and scroll if necessary.
Backwards text selection is also blocked for touch devices,
so the handles don't get inverted positions (This is more
important though on GtkTextView, as inverted handles may
obscure portions of the selected text, good for consistence
though)
Carlos Garnacho [Wed, 11 Jul 2012 13:51:43 +0000 (15:51 +0200)]
Add GtkTextHandle
This is a helper object to allow text widgets to implement
text selection on touch devices. It allows for both cursor
placement and text selection, displaying draggable handles
on/around the cursor and selection bound positions.
Currently, this is private to GTK+, and only available to
GtkEntry and GtkTextView.
Carlos Garnacho [Wed, 11 Jul 2012 14:44:16 +0000 (16:44 +0200)]
scrolledwindow: don't capture events meant for non-child windows
GtkTextHandle creates temporary override redirect windows, but still
hook to the text widget for events, so those are effectively captured
by GtkScrolledWindow if a text widget is within it
Aurimas Černius [Sun, 2 Sep 2012 12:41:45 +0000 (15:41 +0300)]
Updated Lithuanian translation
A S Alam [Sun, 2 Sep 2012 04:50:22 +0000 (10:20 +0530)]
update Punjabi Translation for gtk module
Matthias Clasen [Sun, 2 Sep 2012 02:51:18 +0000 (22:51 -0400)]
Try harder to discriminate Shift-F10 and F10
A change in xkeyboard-config 2.4.1 made it so that function keys
now have a shift level which has the same symbol, but 'eats' the
shift modifier. This would ordinarily make it impossible for us
to discriminate between these key combinations.
This commit tries harder to discriminate in 2 ways:
- XKB has a mechanism to tell us when a modifier should not be
consumed even though it was used in determining the level.
We now respect such 'preserved' modifiers. This does not fix
the Shift-F10 vs F10 problem yet, since xkeyboard-config does
not currently mark Shift as preserved for function keys.
- Don't consume modifiers that do not change the symbol. For
the function keys, the symbol on the shift level is the same
as the base level, so we don't consider Shift consumed.
For more background on the xkeyboard-config change, see
https://bugs.freedesktop.org/show_bug.cgi?id=45008
https://bugzilla.gnome.org/show_bug.cgi?id=661973
Rūdolfs Mazurs [Sat, 1 Sep 2012 21:33:15 +0000 (00:33 +0300)]
:qUpdated Latvian translation
Piotr Drąg [Sat, 1 Sep 2012 19:03:42 +0000 (21:03 +0200)]
Updated Polish translation
Piotr Drąg [Sat, 1 Sep 2012 17:36:35 +0000 (19:36 +0200)]
Updated Polish translation
Also restore missing copyrights.
Fran Diéguez [Sat, 1 Sep 2012 09:43:32 +0000 (11:43 +0200)]
Updated Galician translations
Kjartan Maraas [Sat, 1 Sep 2012 08:43:02 +0000 (10:43 +0200)]
Updated Norwegian bokmål translation
Nguyễn Thái Ngọc Duy [Sat, 1 Sep 2012 06:09:03 +0000 (13:09 +0700)]
Updated Vietnamese translation
Nguyễn Thái Ngọc Duy [Sat, 1 Sep 2012 06:08:27 +0000 (13:08 +0700)]
po/vi: import from Damned Lies
Matthias Clasen [Sat, 1 Sep 2012 03:10:30 +0000 (23:10 -0400)]
Revert "menubutton: make it work with custom content in .ui file"
This reverts commit
6e6487b461adf2628f49fc257a7a30a2346e5a25.
Matthias Clasen [Sat, 25 Aug 2012 03:32:41 +0000 (23:32 -0400)]
GtkMenuButton: Override add
By removing an existing child in add, if it is our own arrow,
we can make things work better in GtkBuilder.
https://bugzilla.gnome.org/show_bug.cgi?id=682291
David Zeuthen [Tue, 21 Aug 2012 16:49:02 +0000 (12:49 -0400)]
menubutton: make it work with custom content in .ui file
This was reported in bug 682291.
https://bugzilla.gnome.org/show_bug.cgi?id=682291
Signed-off-by: David Zeuthen <zeuthen@gmail.com>
Rui Matos [Mon, 20 Aug 2012 23:28:25 +0000 (01:28 +0200)]
window: Add a delay before automatically showing mnemonics
Showing mnemonics immediately on modifier press can be annoying and
distracting when the user is just trying to Alt+Tab into another
application/window since the mnemonic will show up and quickly vanish
again when we receive the focus out event.
https://bugzilla.gnome.org/show_bug.cgi?id=672431
Matthias Clasen [Sat, 1 Sep 2012 02:45:18 +0000 (22:45 -0400)]
Fix positioning of file format radios
When the file name changes, the file format radios were dancing
around. This commit keeps them flush right.
Matthias Clasen [Sat, 1 Sep 2012 02:44:45 +0000 (22:44 -0400)]
Fix mnemonic activation for some printer option widgets
The file type radio group has a mnemonic on its label, but
activating it did not work, since GtkPrinterOptionWidget did
not know to forward the activation to one of the buttons.
Sebastian Geiger [Fri, 17 Aug 2012 23:04:22 +0000 (01:04 +0200)]
Improve print to file options in print dialog
* This patch gets rid of the separated
fields for selecting a print to file
target by removing the folder selection
button and the entry. It is replaced by
a browse button, which opens a file
selection dialog, that can select both
the path AND the filename.
* If the filename is relativ to the home
folder it will substitute ~/ instead of
the home folder. Additionally if the
resulting filename is longer than 30
characters, it cut of the first part
and replace it by '...' so that
the button text never gets too long.
https://bugzilla.gnome.org/show_bug.cgi?id=682129
Arash Mousavi [Fri, 31 Aug 2012 19:17:31 +0000 (23:47 +0430)]
l10n: Updated Persian translation
Matthias Clasen [Fri, 31 Aug 2012 18:46:07 +0000 (14:46 -0400)]
Allow setting Pango attributes on entries
This is useful to adjust the weight or scale of the text.
Fran Diéguez [Fri, 31 Aug 2012 19:06:05 +0000 (21:06 +0200)]
Updated Galician translations
Piotr Drąg [Fri, 31 Aug 2012 18:48:12 +0000 (20:48 +0200)]
Updated Polish translation
Sebastian Geiger [Fri, 31 Aug 2012 17:02:00 +0000 (12:02 -0500)]
[GtkFileChooserButton] bgo#645065 - Restore the previously-selected file when the button's GtkFileChooserDialog is canceled
The file chooser is asynchronous, so doing 'select_file (old_file)' and subsequently querying
the file for updating the labels is not going to work. However, the underlying file chooser
will emit 'selection-changed' as appropriate when it finishes restoring the old file. So,
we only need to update the labels when the file chooser dialog is confirmed, not cancelled.
Matthias Clasen [Fri, 31 Aug 2012 14:47:23 +0000 (10:47 -0400)]
Move entry completion code where it belongs
This commit moves all the entry completion implementation
into gtkentrycompletion.c. It also gets rid of an unnecessary
completion_device member in GtkEntryPrivate.
Matthias Clasen [Fri, 31 Aug 2012 02:14:23 +0000 (22:14 -0400)]
GtkEntry: pack GtkEntryPrivate a bit better
Erik van Pienbroek [Mon, 27 Aug 2012 20:18:29 +0000 (22:18 +0200)]
Also compile gtkdbusgenerated.c on non-UNIX environments
When compiling gtk on Win32 then the file gtkdbusgenerated.c also needs to be
compiled and linked into the gtk library as it's needed for GtkMountOperation
https://bugzilla.gnome.org/show_bug.cgi?id=682825
William Jon McCann [Wed, 29 Aug 2012 21:19:49 +0000 (17:19 -0400)]
Always make primary headings bold in message dialogs
Unless they have markup. But only use big text if there is
secondary text.
https://bugzilla.gnome.org/show_bug.cgi?id=683001
Baurzhan Muftakhidinov [Thu, 30 Aug 2012 17:04:39 +0000 (23:04 +0600)]
Updated Kazakh translation
Matthias Clasen [Wed, 29 Aug 2012 22:16:34 +0000 (18:16 -0400)]
Remove unintentional symbol export
Just a forgotten static.
Matthias Clasen [Wed, 29 Aug 2012 22:15:46 +0000 (18:15 -0400)]
Revert "gtk: Fix exports for new symbols"
This reverts commit
07b33586e2552faece4a404c01cffb340ab7fc62.
Rico Tzschichholz [Wed, 29 Aug 2012 06:17:36 +0000 (08:17 +0200)]
gtk: Fix exports for new symbols
Chun-wei Fan [Wed, 29 Aug 2012 04:19:56 +0000 (12:19 +0800)]
Update config.h.win32.in
Make the entries more in line with those given in the generated
config.h.in.
Fran Diéguez [Tue, 28 Aug 2012 22:08:53 +0000 (00:08 +0200)]
Updated Galician translations
Aurimas Černius [Tue, 28 Aug 2012 19:17:30 +0000 (22:17 +0300)]
Updated Lithuanian translation
Cosimo Cecchi [Tue, 28 Aug 2012 15:51:18 +0000 (11:51 -0400)]
scrolled-window: fix rendering of scrolled window background
- don't poke at the children's background pattern at draw time, but just
call gtk_render_background()
- we should propagate rendering of the background to the overshoot
window when the state flags or the style changes, or it won't respond
to e.g. focused/backdrop changes correctly
https://bugzilla.gnome.org/show_bug.cgi?id=682854
Benjamin Otte [Tue, 28 Aug 2012 13:30:23 +0000 (15:30 +0200)]
css: Remove unused macro
GTK_CSS_DEPENDS_ON_EVERYTHING was used as a placeholder when
implementing dependencies. Now that dependencies are completely
implemented, it's no longer necessary.
Benjamin Otte [Tue, 28 Aug 2012 13:29:56 +0000 (15:29 +0200)]
cssimage: Implement dependencies for images
Benjamin Otte [Mon, 27 Aug 2012 16:39:46 +0000 (18:39 +0200)]
cssvalue: Implement dependency tracking for gradients
Benjamin Otte [Mon, 27 Aug 2012 15:52:02 +0000 (17:52 +0200)]
cssvalue: Handle dependencies for typed values
Benjamin Otte [Mon, 27 Aug 2012 15:27:06 +0000 (17:27 +0200)]
css: Make color lookup handle dependencies
Matthias Clasen [Sat, 25 Aug 2012 15:22:14 +0000 (11:22 -0400)]
css: Handle some more simple cases of dependencies
Benjamin Otte [Fri, 24 Aug 2012 23:59:13 +0000 (01:59 +0200)]
cssvalue: First step of proper dependency tracking
Instead of using the EVERYTHING aka FIXME value for tdependencies,
actually compute the dependencies in a bunch of simple cases.
Benjamin Otte [Fri, 24 Aug 2012 16:17:52 +0000 (18:17 +0200)]
stylecontext: Update computed values when dependencies change
This fixes the longstanding bug where GTK would not update styles when
parent styles would change.
https://bugzilla.gnome.org/show_bug.cgi?id=672046
Benjamin Otte [Fri, 24 Aug 2012 16:17:07 +0000 (18:17 +0200)]
stylecontext: Refactor some code
This just changes the arguments passed to build_properties() and moves
that function around in the source file. No functional changes are
happening.
Benjamin Otte [Fri, 24 Aug 2012 15:31:57 +0000 (17:31 +0200)]
css: Pass relevant properties to css lookup code
This is not used yet in this patch.
Benjamin Otte [Fri, 24 Aug 2012 15:00:02 +0000 (17:00 +0200)]
computedvalues: Pass dependencies to set_value()
This simplifies the code.
Benjamin Otte [Fri, 24 Aug 2012 14:28:47 +0000 (16:28 +0200)]
stylecontext: Compute correct changes
... in the case where no change of the DOM tree actually happened.
We don't do anything yet with that information, this patch just
correctly computes it.
Benjamin Otte [Tue, 24 Jul 2012 14:22:06 +0000 (16:22 +0200)]
stylecontext: Split out a function for simplicity
Benjamin Otte [Mon, 23 Jul 2012 14:14:20 +0000 (16:14 +0200)]
cssomputedvalues: Track dependencies
We now track what values have dependencies on what other values so that
we could in theory recompute them when we need to.
Benjamin Otte [Wed, 18 Jul 2012 14:55:32 +0000 (16:55 +0200)]
stylecontext: Pass the changes in the parent to validation function
This way, inherited properties can be updated.
Benjamin Otte [Mon, 16 Jul 2012 12:48:43 +0000 (14:48 +0200)]
css: Introduce dependencies for value computations
When values are computed, they might depend on various other values and
we need to track this so we can update the values when those other
values change. This is the first step in making that happen.
This patch does not do any dependency tracking at all, instead it uses
GTK_CSS_DEPENDS_ON_EVERYTHING as a sort of FIXME.